package com.deke.baby.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.deke.common.annotation.Excel;
import com.deke.common.core.domain.BaseEntity;

/**
 * 活动报名家庭成员对象 sign_family_member
 *
 * @author deke
 * @date 2023-06-28
 */
public class SignFamilyMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 性别 */
    @Excel(name = "性别")
    private String codeSex;

    /** 成员类型 */
    @Excel(name = "成员类型")
    private String memberType;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long signFamilyId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setCodeSex(String codeSex)
    {
        this.codeSex = codeSex;
    }

    public String getCodeSex()
    {
        return codeSex;
    }
    public void setMemberType(String memberType)
    {
        this.memberType = memberType;
    }

    public String getMemberType()
    {
        return memberType;
    }
    public void setAge(Integer age)
    {
        this.age = age;
    }

    public Integer getAge()
    {
        return age;
    }
    public void setSignFamilyId(Long signFamilyId)
    {
        this.signFamilyId = signFamilyId;
    }

    public Long getSignFamilyId()
    {
        return signFamilyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("name", getName())
            .append("phone", getPhone())
            .append("codeSex", getCodeSex())
            .append("memberType", getMemberType())
            .append("age", getAge())
            .append("signFamilyId", getSignFamilyId())
            .toString();
    }
}
